<?php
/*
|-----------------------------------------------------------------------------------------------------------
| laravel-admin-cms [ 简单高效的开发插件系统 ]
|-----------------------------------------------------------------------------------------------------------
| Licensed ( MIT )
| ----------------------------------------------------------------------------------------------------------
| Copyright (c) 2020-2021 https://gitee.com/liaodeiy/laravel-admin-cms All rights reserved.
| ----------------------------------------------------------------------------------------------------------
| Author: 廖春贵 < liaodeity@gmail.com >
|-----------------------------------------------------------------------------------------------------------
*/
namespace App\Traits;


use App\Models\User;

trait BelongsToUser
{
    /**.
     *  add by gui
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     * @return mixed
     */
    public function user ()
    {
        return $this->belongsTo (User::class);
    }
}
